home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 45
/
Aminet 45 (2001)(GTI - Schatztruhe)[!][Oct 2001].iso
/
Aminet
/
game
/
role
/
ldmud-3.2-bin.lha
/
mud
/
doc
/
efun
/
sizeof
< prev
next >
Wrap
Text File
|
2001-08-02
|
607b
|
21 lines
SYNOPSIS
int sizeof(mixed * val)
int sizeof(string val)
int sizeof(mapping val)
DESCRIPTION
Returns the number of elements of an array, the number of characters
in a string, or the number of keys in a mapping.
For scalar values (like integers), 0 is returned.
Note: this efun is also available under the name 'm_sizeof(E)'.
Usage of that name however is deprecated.
HISTORY
LDMud 3.2.9 added strings to the possible parameters.
SEE ALSO
strlen(E), allocate(E), pointerp(E),
mappingp(E), m_allocate(E), widthof(E)